export const BlockchainConfig = {
	inline: false,
	showBtn: false,
	labelPosition: 'left',
    isBlockchain: true,
	blockchainProp: 'onBlockchainFlag',
	column: [
        {
            type: 'DividerHtml',
            labelPosition: 'top',
            position: 'center',
            modelValue: '最新一条上链数据',
            span: 24,
        },
        {
            label:"链码名称",
            prop:"chaincodeName",
           
            span:8
        },
        {
            label:"交易ID",
            prop:"txId",
            span:8
        },
        {
            label:"交易时间戳",
            prop:"txTimestamp",
            type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
            span:8
        },
        {
            label:"交易组织ID",
            prop:"mspID",
            span:8
        },
        {
            label:"交易是否合法",
            prop:"isValid",
            span:8
        },
        {
            label:"查询区块高度",
            prop:"height",
            span:8
        },
        
        {
            type: 'DividerHtml',
            labelPosition: 'top',
            position: 'center',
            modelValue: '上链信息',
            span: 24,
        },
        {
			label: '照片',
			tip: '',
			prop: 'image',
			type: 'upload',
			labelPosition: 'top',
			showFileList: false,
			limit: 1,
			multiple: false,
			span: 24,
		},
		{
			label: '姓名',
			prop: 'name',
			maxlength: '20',
			showWordLimit: true,
			type: 'text',
			changeField: true,
			rules: [{ required: true, message: '请输入姓名' }],
			span: 8,
		},
		{
			label: '户籍区划',
			prop: 'crAreas',
			propName: 'cr_areas',
			type: 'AplidAreaSelect',
			changeField: true,
			rules: [{ required: true, message: '请选择户籍区划' }],
			span: 8,
		},
		{
			label: '户籍地址',
			prop: 'crAddress',
			maxlength: '140',
			showWordLimit: true,
			changeField: true,
			type: 'text',
			rules: [{ required: true, message: '请输入户籍地址' }],
			span: 8,
		},
		{
			label: '户籍地邮政编码',
			prop: 'crPostalCode',
			maxlength: '6',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '证件类型',
			prop: 'cardType',
			propName: 'cardTypeLabel',
			type: 'remoteSelect',
			code: 'ID_CARD_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 8,
			changeField: true,
			rules: [{ required: true, message: '请选择证件类型' }],
		},
		{
			label: '证件号码',
			prop: 'idCard',
			type: 'input',
			span: 8,
			changeField: true,
			rules: [{ required: true, message: '请输入证件号码' }],
		},
		{
			label: '户籍类型',
			prop: 'crType',
			propName: 'crTypeLabel',
			type: 'remoteSelect',
			code: 'REG_RESIDENCE_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			span: 8,
			rules: [{ required: true, message: '请输入户籍类型' }],
		},
		{
			label: '联系方式',
			prop: 'telephone',
			type: 'input',
			span: 8,
			changeField: true,
		},
		
		{
			label: '现居地区',
			prop: 'areas',
			propName: 'areas_name',
			type: 'AplidAreaSelect',
			changeField: true,
			rules: [{ required: true, message: '请选择现居地区' }],
			span: 8,
		},
		{
			label: '现居地址',
			prop: 'address',
			maxlength: '140',
			showWordLimit: true,
			changeField: true,
			type: 'text',
			rules: [{ required: true, message: '请输入现居地址' }],
			span: 8,
		},
		{
			label: '生存状态',
			prop: 'existence',
			propName: 'existenceLabel',
			type: 'remoteSelect',
			code: 'EXISTENCE_STATUS',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			span: 8,
			rules: [{ required: true, message: '请选择生存状态' }],
		},
		{
			label: '去世时间',
			prop: 'deadTime',
			type: 'date',
			changeField: true,
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			span: 8,
		},
		{
			label: '入住养老机构',
			prop: 'organizationCode',
			propName: 'organizationName',
			type: 'remoteSelect',
			api: 'view_dpServiceOrgBase_page',
			filterKey: 'creditCode',
			filterLabel: 'organizationName',
			multiple: false,
			changeField: true,
			span: 8,
		},
	
		{
			label: '服务对象类别',
			prop: 'elderlyType',
			propName: 'elderlyTypeLabel',
			type: 'remoteSelect',
			code: 'ELDERLY_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			rules: [{ required: true, message: '请选择服务对象类别' }],
			span: 8,
		},

		{
			label: '存在监护人（联系人）标志',
			prop: 'isWithGuardian',
			propName: 'isWithGuardianLabel',
			type: 'select',
			rules: [{ required: true, message: '请选择存在监护人（联系人）标志' }],
			dicData: [
				{ label: '否', value: 0 },
				{ label: '是', value: 1 },
			],
			span: 8,
		},
		
		{
			label: '入院时间',
			prop: 'admissionTime',
			type: 'date',
			changeField: false,
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			span: 8,
		},
		{
			label: '入住信息',
			prop: 'buildInfo',
			propName: 'buildInfoName',
			type: 'BuildRoomBed',
			deepLevel: 3,
			span: 16,
		},
		
    ]
}